package com.ninja.sqlSession;

import com.ninja.pojo.config.Configuration;
import com.ninja.pojo.config.MappedStatement;

import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    public int notQuery(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

}
